import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false




Vue.prototype.$BASE_URL = 'http://a.doutuiyunai.com/app';

// title 组件
import appTitle from "@/components/appTitle.vue";
Vue.component('app-title', appTitle);
// 登录组件
import AppLogin from "@/components/AppLogin/AppLogin.vue";
Vue.component('app-login', AppLogin);
// tab
import appTab from "@/components/appTab/appTab.vue";
Vue.component('app-tab', appTab);

//more-hot
import MoreHot from '@/components/MoreHot.vue';
Vue.component('more-hot', MoreHot);











App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif